messages = {
	{
		define = "struct", name="SceneProgress",
		attributes =
		{
			 {type="int8", name = "sid"},
			 {type="int8", name = "data"},
		}
	},
	{
		define = "struct", name="MonsterInfo",
		attributes =
		{
			 {type="int16", name = "eid"},
			 {type="int16", name = "mid"},
			 {type="int32", name = "hp"},
			 {type="int32", name = "maxhp"},
			 {type="int32", name = "mp"},
			 {type="int32", name = "maxmp"},
			 {type="int8", name = "fpos"},
		}
	},
	{
		define = "msg", name="EnterDistrictRequest", category = "13", id = "1", base = "MsgBase",
		 attributes =
		 {
			 {type="int8", name = "cid"},
			 {type="int8", name = "did"},
		 }
	},
	{
		define = "msg", name="EnterDistrictResponse", category = "13", id = "2", base = "MsgBase",
		 attributes =
		 {
			 {type="int16", name = "errcode"},
			 {type="SceneProgress", name = "sps", list = true},
		 }
	},
	{
		define = "msg", name="EnterSceneRequest", category = "13", id = "5", base = "MsgBase",
		 attributes =
		 {
			 {type="int8", name = "cid"},
			 {type="int8", name = "did"},
			 {type="int8", name = "sid"},
			 {type="int8", name = "reserved"},
		 }
	},
	{
		define = "msg", name="EnterSceneResponse", category = "13", id = "6", base = "MsgBase",
		 attributes =
		 {
			 {type="int16", name = "errcode"},
			 {type="int32", name = "dsid"},		--	dynamic scene id which identify the unique scene instance
		 }
	},
	{
		define = "msg", name="CombatStartRequest", category = "13", id = "7", base = "MsgBase",
		 attributes =
		 {
			 {type="int32", name = "dsid"},		--	dynamic scene id which identify the unique scene instance
			 {type="int8", name = "wid"},		--	monster wave which stand for which wave of monster you want to fight
		 }
	},
	{
		define = "msg", name="CombatStartResponse", category = "13", id = "8", base = "MsgBase",
		 attributes =
		 {
			 {type="int16", name = "errcode"},
			 {type="int32", name = "dsid"},
			 {type="int16", name = "fid"},		--	form type which current wave of monsters use
			 {type="MonsterInfo", name = "monsters", list = true},
		 }
	},
	{
		define = "msg", name="CombatEndRequest", category = "13", id = "9", base = "MsgBase",
		 attributes =
		 {
			 {type="int32", name = "dsid"},
		 }
	},
	{
		define = "msg", name="CombatEndResponse", category = "13", id = "10", base = "MsgBase",
		 attributes =
		 {
			 {type="int16", name = "errcode"},
		 }
	},
}

